package com.bong.ring.activity.config;

import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;

import com.bong.ring.R;
import com.bong.ring.activity.ActionBarReturnActivity;

public class ConfigAlertEditActivity extends ActionBarReturnActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_config_alert_edit);
        getSupportActionBar().setTitle("编辑闹钟");
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(R.menu.menu_button_ok,menu);
        menu.findItem(R.id.menu_edit).setVisible(false);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        super.onOptionsItemSelected(item);
        switch (item.getItemId())
        {
            case R.id.menu_edit:
                break;
            case R.id.menu_confirm:
                break;
        }
        return true;
    }
}
